package com.lestar.htmlparser;

import com.lestar.htmlparser.jiuyou.NewGameParser;
import com.lestar.htmlparser.jiuyou.NewTestParser;
import com.lestar.htmlparser.jiuyou.NewWishParser;
import com.lestar.htmlparser.model.NewGame;
import com.lestar.htmlparser.model.NewTest;
import com.lestar.htmlparser.model.NewWish;

import java.util.List;

/**
 * Created by Ray on 2016/10/10.
 */

public class Test {

    public static void main(String[] args){
        String xyrb01 = "F:\\workspace\\adt1\\GameSpider\\misc\\xyrb01.html";
        String xyqdb = "F:\\workspace\\adt1\\GameSpider\\misc\\xyqdb.html";
        String kc = "F:\\workspace\\adt1\\GameSpider\\misc\\kc.html";
        BaseParser<NewWish> parser1 = new NewWishParser();
        List<NewWish> newWishes = parser1.parseList(xyqdb);
        BaseParser<NewGame> parser2 = new NewGameParser();
        parser2.parseList(xyrb01);
        BaseParser<NewTest> parser3 = new NewTestParser();
        parser3.parseList(kc);
    }


}
